<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.gouwudai.gobbs.pojo.TbbsMessage"%>
<%@ include file="../common/common.jsp" %>
<%@ include file="user_pass2.jsp" %>
<%
Integer messageId = ParamUtils.getIntParameter(request,"messageId");

IMessageService messageService = (IMessageService)BeanManager.getBean("messageService");
TbbsMessage obj = messageService.doReadMessage(messageId,LOGIN_ID,request.getRemoteAddr());
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=SYSTITLE%> - 查看短消息</title>
<meta name="Keywords" content="<%=SYSMETAKEY%>" />
<meta name="Description" content="<%=SYSMETADESC%>" />
<%@ include file="../common/meta.inc" %>
<link rel="stylesheet" type="text/css" href="css/defaultStyle.css" >
</head>
<body>
<%@ include file="../common/waiting.inc" %>
<SCRIPT language="javascript">

setStatus('<%=SYSTITLE%> - 工具箱');
</SCRIPT>
<DIV class="list_table_0">
<%=HtmlConst.navMenu("user_take.jsp","我的工具箱")%>&gt;&gt;查看短消息
</DIV>
<DIV class="line"></DIV>
<form name="theform" id="theform" method="post" action="" onSubmit="return validateForm(this);">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
<tr class="tab2">
	<td width="100"><strong>收信人</strong></td>
	<td height="22"><input name="takeUser" class="readonlyText" type="text" id="takeUser" value="<%=obj.getSendUser()%>" readOnly="true" size="40" maxlength="50" /></td>
</tr>
<tr class="tab2">
	<td height="25"><strong>主题</strong></td>
	<td ><input name="title" class="readonlyText"  type="text" id="title"  value="<%=obj.getTitle()%>" readOnly  size="40" maxlength="200"  onkeydown="nextKeyPress(this);"/></td>
</tr>
<tr class="tab2">
  <td height="12"><strong>内容</strong></td>
  <td><textarea name="content"  class="readonlyText"  cols="60" rows="8" id="content" readOnly><%=obj.getContent()%></textarea></td>
</tr>
</table>
</form>
<%=COPYRIGHTFOOT%>
<%@ include file="../common/foot.inc"%>
</body>
</html>